package com.cbt.cbtBlog.bean;

import java.util.Objects;

public class BlogInfo {
   private String id;
   private String title;
   private String tno;
   private String type;
   private String createTime;
   private String writer;
   private String viewCount;
   private String fileNames;
   private String define1;
   private String define2;
   private String define3;

   public String getId() {
      return this.id;
   }

   public void setId(String id) {
      this.id = id;
   }

   public String getTitle() {
      return this.title;
   }

   public void setTitle(String title) {
      this.title = title;
   }

   public String getTno() {
      return this.tno;
   }

   public void setTno(String tno) {
      this.tno = tno;
   }

   public String getType() {
      return this.type;
   }

   public void setType(String type) {
      this.type = type;
   }

   public String getCreateTime() {
      return this.createTime;
   }

   public void setCreateTime(String createTime) {
      this.createTime = createTime;
   }

   public String getWriter() {
      return this.writer;
   }

   public void setWriter(String writer) {
      this.writer = writer;
   }

   public String getViewCount() {
      return this.viewCount;
   }

   public void setViewCount(String viewCount) {
      this.viewCount = viewCount;
   }

   public String getFileNames() {
      return this.fileNames;
   }

   public void setFileNames(String fileNames) {
      this.fileNames = fileNames;
   }

   public String getDefine1() {
      return this.define1;
   }

   public void setDefine1(String define1) {
      this.define1 = define1;
   }

   public String getDefine2() {
      return this.define2;
   }

   public void setDefine2(String define2) {
      this.define2 = define2;
   }

   public String getDefine3() {
      return this.define3;
   }

   public void setDefine3(String define3) {
      this.define3 = define3;
   }

   public boolean equals(Object o) {
      if (this == o) {
         return true;
      } else if (o != null && this.getClass() == o.getClass()) {
         BlogInfo blogInfo = (BlogInfo)o;
         return Objects.equals(this.id, blogInfo.id) && Objects.equals(this.title, blogInfo.title) && Objects.equals(this.tno, blogInfo.tno) && Objects.equals(this.type, blogInfo.type) && Objects.equals(this.createTime, blogInfo.createTime) && Objects.equals(this.writer, blogInfo.writer) && Objects.equals(this.viewCount, blogInfo.viewCount) && Objects.equals(this.fileNames, blogInfo.fileNames) && Objects.equals(this.define1, blogInfo.define1) && Objects.equals(this.define2, blogInfo.define2) && Objects.equals(this.define3, blogInfo.define3);
      } else {
         return false;
      }
   }

   public int hashCode() {
      return Objects.hash(new Object[]{this.id, this.title, this.tno, this.type, this.createTime, this.writer, this.viewCount, this.fileNames, this.define1, this.define2, this.define3});
   }

   public String toString() {
      return "BlogInfo{id='" + this.id + '\'' + ", title='" + this.title + '\'' + ", tno='" + this.tno + '\'' + ", type='" + this.type + '\'' + ", createTime='" + this.createTime + '\'' + ", writer='" + this.writer + '\'' + ", viewCount='" + this.viewCount + '\'' + ", fileNames='" + this.fileNames + '\'' + ", define1='" + this.define1 + '\'' + ", define2='" + this.define2 + '\'' + ", define3='" + this.define3 + '\'' + '}';
   }

   public BlogInfo(String id, String title, String tno, String type, String createTime, String writer, String viewCount, String fileNames, String define1, String define2, String define3) {
      this.id = id;
      this.title = title;
      this.tno = tno;
      this.type = type;
      this.createTime = createTime;
      this.writer = writer;
      this.viewCount = viewCount;
      this.fileNames = fileNames;
      this.define1 = define1;
      this.define2 = define2;
      this.define3 = define3;
   }

   public BlogInfo() {
   }
}
